package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * gptRole对象 chat_role
 * 
 * @author ruoyi
 * @date 2024-04-28
 */
public class ChatRole extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 角色名 */
    @Excel(name = "角色名")
    private String role;

    /** 内置语句 */
    @Excel(name = "内置语句")
    private String describeText;

    /** 头像图片路径 */
    @Excel(name = "头像图片路径")
    private String avatar;

    /** 状态 0-未发布、1-已发布 */
    @Excel(name = "状态 0-未发布、1-已发布")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRole(String role) 
    {
        this.role = role;
    }

    public String getRole() 
    {
        return role;
    }
    public void setDescribeText(String describeText) 
    {
        this.describeText = describeText;
    }

    public String getDescribeText() 
    {
        return describeText;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("role", getRole())
            .append("describeText", getDescribeText())
            .append("avatar", getAvatar())
            .append("status", getStatus())
            .toString();
    }
}
